package com.example.fw;

import org.openqa.selenium.By;

public class NavigationHelper extends HelperWithWebDriverBase {

	public NavigationHelper(ApplicationManager manager) {
		super(manager);
	}
	
	public void goToGroupListPage() {
		// if(getCurrentUrl != "http://localhost/addressbookv4.1.4/"){
		click(By.linkText("groups"));	
		//}
	}
	

	public void openMainPage() {
		// if ( we are not main page) {
		openUrl(manager.getProperty("baseUrl"));	
		// }
	}

	public void clickExport() {
		openUrl(manager.getProperty("baseUrl") + "csv.php");
		
	}

}
